package solutiondemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2024-01-20
 * Time: 23:28
 */
public class Main {


    public static void main(String[] args) {
        Solution s = new Solution();
        int[] arr1 = {1};
        int[] arr2 = {1};
//        int[] arr1 = {1,2,3,4,5};
//        int[] arr2 = {4,5,3,2,1};
        System.out.println(s.IsPopOrder(arr1,arr2));
    }

    public static void main1(String[] args) {
        MyCircularQueue myCircularQueue = new MyCircularQueue(2);
        System.out.println(myCircularQueue.enQueue(2));
        System.out.println(myCircularQueue.Rear());
        System.out.println(myCircularQueue.Front());

//        System.out.println(myCircularQueue.enQueue(1));
//        System.out.println(myCircularQueue.enQueue(2));
//        System.out.println(myCircularQueue.enQueue(3));
//        System.out.println(myCircularQueue.enQueue(4));
//        System.out.println(myCircularQueue.Rear());
//        System.out.println(myCircularQueue.isFull());
//        System.out.println(myCircularQueue.deQueue());
    }
}
